package com.dq.health.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dq.health.dto.request.outpatient.QueryOutpatientParam;
import com.dq.health.dto.response.outpatient.OutpatientOrderInfo;

/**
 * <门诊预约单接口>
 *
 * @Author: chenxin
 * @Date: 2021/5/11
 */
public interface IAPIOutpatientService {

    /**
     * 功能描述: 预约单列表
     *
     * @author: chenxin
     * @param: [param]
     * @date: 2021/5/12
     */
    IPage<OutpatientOrderInfo> queryList(QueryOutpatientParam param);


    /**
     * 功能描述: 预约单详情
     *
     * @author: chenxin
     * @param: [id]
     * @date: 2021/5/12
     */
    OutpatientOrderInfo queryInfoById(Long id);

    /**
     * 功能描述: 修改订单状态
     *
     * @author: chenxin
     * @param: [id, operationUserId, status]
     * @date: 2021/5/12
     */
    void updateOrderStatus(Long id, Long operationUserId, Integer status);

    Long addOutpatientOrder();

}
